#ifndef __TYPES_H__
#define __TYPES_H__

/*
	Defines message types for the CTF game.
	Corresponds to client commands and expected responses from the server.
*/
#define ERROR 				0
#define CONNECT 			1
#define MOVE 				2
#define PICKUP	 			3
#define DROP 				4
#define BLAST 				5
#define DISCONNECT 			6
#define CHAT_MSG 			7
#define	MAP 			   10
#define CELL_UPDATE 	   11
#define PLAYER_UPDATE 	   12
#define GAME_UPDATE	 	   13
#define CHAT_MSG_BROADCAST 14

/*
	Defines object IDs for the CTF game.
*/
#define OBJECT_ERROR_ID 0
#define TEAM1_FLAG_ID	1
#define TEAM1_BOMBS_ID 	2
#define TEAM2_FLAG_ID 	3
#define TEAM2_BOMBS_ID 	4

#endif 
